import { MidwayConfig } from '@midwayjs/core';
import { env } from '../utils/functions';

export default {
  appid: env('WECHAT_OFFICIAL_APPID', 'wx776d8b8cb89f4cf5'),
  appSecret: env(
    'WECHAT_OFFICIAL_SECRET',
    'https://wechatcallback.cdncore.cn/octopoda/zjx/wechat/serve'
  ),
  token: env('WECHAT_OFFICIAL_TOKEN', '2b7dfd9c24cb0ddeac82494e33bb1024'),
  url: env('WECHAT_OFFICIAL_CALLBACK', ''),
  encodingAESKey: env(
    'WECHAT_OFFICIAL_AESKEY',
    'U0U2uyssK4xO9UwqCmJWUSpmTVpDOZk6ZxNqBcl9WDh'
  ),
  checkSignature: env('WECHAT_OFFICIAL_CHECK_SIGN', true),
} as MidwayConfig;
